home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / shells / tcshsrc.zoo / tcsh / config / config.mac2 < prev    next >
Encoding:
Text File  |  1991-08-06  |  3.2 KB  |  127 lines

  1. /*
  2.  * config.h -- configure various defines for tcsh
  3.  *
  4.  * All source files should #include this FIRST.
  5.  *
  6.  * Edit this to match your system type.
  7.  */
  8.  
  9. /****************** System dependant compilation flags ****************/
  10. /*
  11.  * For A/UX 2.00 you can define POSIX and POSIXJOBS, but you'll have
  12.  * to add -ZP in CFLAGS and set LIBES to -lposix -ltermcap.
  13.  */
  14. /*
  15.  * POSIX    This system supports IEEE Std 1003.1-1988 (POSIX).
  16.  */
  17. #undef POSIX
  18.  
  19. /*
  20.  * POSIXJOBS    This system supports the optional IEEE Std 1003.1-1988 (POSIX)
  21.  *        job control facilities.
  22.  */
  23. #undef POSIXJOBS
  24.  
  25. /*
  26.  * VFORK    This machine has a vfork().  
  27.  *        It used to be that for job control to work, this define
  28.  *        was mandatory. This is not the case any more.
  29.  *        If you think you still need it, but you don't have vfork, 
  30.  *        define this anyway and then do #define vfork fork.  
  31.  *        I do this anyway on a Sun because of yellow pages brain damage,
  32.  *        [should not be needed under 4.1]
  33.  *        and on the iris4d cause    SGI's fork is sufficiently "virtual" 
  34.  *        that vfork isn't necessary.  (Besides, SGI's vfork is weird).
  35.  *        Note that some machines eg. rs6000 have a vfork, but not
  36.  *        with the berkeley semantics, so we cannot use it there either.
  37.  */
  38. #undef VFORK
  39.  
  40. /*
  41.  * BSDJOBS    You have BSD-style job control (both process groups and
  42.  *        a tty that deals correctly
  43.  */
  44. #define BSDJOBS
  45.  
  46. /*
  47.  * BSDSIGS    You have 4.2-style signals, rather than USG style.
  48.  *        Note: POSIX systems should not define this unless they
  49.  *        have sigvec() and friends (ie: 4.3BSD-RENO, HP-UX).
  50.  */
  51. #define BSDSIGS
  52.  
  53. /*
  54.  * BSDTIMES    You have BSD-style process time stuff (like rusage)
  55.  *        This may or may not be true.  For example, Apple Unix
  56.  *        (OREO) has BSDJOBS and BSDSIGS but not BSDTIMES.
  57.  */
  58. #undef BSDTIMES
  59.  
  60. /*
  61.  * BSDNICE    Your system uses setpriority() instead of nice, to
  62.  *        change a processes scheduling priority
  63.  */
  64. #undef BSDNICE
  65.  
  66. /*
  67.  * TERMIO    You have struct termio instead of struct sgttyb.
  68.  *         This is usually the case for SVID systems, where
  69.  *        BSD uses sgttyb. POSIX systems should define this
  70.  *        anyway, even though they use struct termios.
  71.  */
  72. #define TERMIO
  73.  
  74. /*
  75.  * SVID        Your machine is SVID complient (Sys V, HPUX, A/UX)
  76.  *        NOTE: don't do this if you are on a Pyramid -- tcsh is
  77.  *        built in a BSD universe.
  78.  *        Set SVID to 1, 2, or 3, depending the version of System V
  79.  *        you are running. Or set it to 0 if you are not SVID based
  80.  */
  81. #define SVID    2
  82.  
  83. /*
  84.  * YPBUGS    Work around Sun YP bugs that cause expansion of ~username
  85.  *        to send command output to /dev/null
  86.  */
  87. #undef YPBUGS
  88.  
  89. /*
  90.  * SIGVOID    Define this if your signal handlers return void.  On older
  91.  *        systems, signal returns int, but on newer ones, it returns void.
  92.  */
  93. #undef SIGVOID 
  94.  
  95. /*
  96.  * HAVEDUP2    Define this if your system supports dup2().
  97.  */
  98. #define HAVEDUP2
  99.  
  100. /*
  101.  * UTHOST    Does the utmp file have a host field?
  102.  */
  103. #define UTHOST
  104.  
  105. /*
  106.  * DIRENT    Your system has <dirent.h> instead of <sys/dir.h>
  107.  */
  108. #define DIRENT
  109. /***************** local defines *********************/
  110. /*
  111.  * OREO        You are running Apple Unix.
  112.  */
  113. #define OREO
  114.  
  115. #ifndef _BSD_SOURCE
  116. # define _BSD_SOURCE
  117. #endif /* _BSD_SOURCE */
  118. #ifndef _SYSV_SOURCE
  119. # define _SYSV_SOURCE
  120. #endif /* _SYSV_SOURCE */
  121.  
  122. #define NOSTRCOLL
  123.  
  124. /****************** configurable hacks ****************/
  125. /* have been moved to config_f.h */
  126. #include "config_f.h"
  127.